<template>
  <div>
      <div class="top">
          <a href="#" @click="goback"></a>
          <p>设置</p>
      </div>
      <div class="space"></div>
      <div class="list">
          <li>
              <span>显示蚂蚁花呗</span>
                <van-switch v-model="checked" active-color="#07c160"  size="14px;" inactive-color="#fff" />
          </li>
          <li>
              <span>请输入金额</span>
                  <p>0</p>
                  <a href="#"></a> 
          </li>
          <div class="space"></div>
          <li>
              <span>显示蚂蚁花呗</span>
                <van-switch v-model="checked1" active-color="#07c160"  size="14px;" inactive-color="#fff" />
          </li>
          <li>
              <span>请输入金额</span>
                  <p>0</p>
                  <a href="#"></a> 
          </li>
          <div class="space"></div>
          <li>
              <span>显示网商银行</span>
                <van-switch v-model="checked2" active-color="#07c160"  size="14px;" inactive-color="#fff" />
          </li>
          <li>
              <span>显示余利宝</span>
                  <van-switch v-model="checked3" active-color="#07c160"  size="14px;" inactive-color="#fff" />
          </li>
          <li>
              <span>显示商家服务</span>
                  <van-switch v-model="checked4" active-color="#07c160"  size="14px;" inactive-color="#fff" />
          </li>
          <li>
              <span>设置聊天字体大小</span>
                  <p>17</p>
                  <a href="#"></a> 
          </li>
          <li>
              <span>显示账单广告</span>
                  <van-switch v-model="checked5" active-color="#07c160"  size="14px;" inactive-color="#fff" />
          </li>
          <div class="space1">
              <p>系统设置</p>
          </div>
         <li>
             <p>清空聊天记录</p>
         </li>
         <div class="space3"></div>
      </div>
  </div>
</template>

<script>
export default {
    data(){
        return{
            checked:false,
            checked1:false,
            checked2:false,
            checked3:false,
            checked4:false,
            checked5:false,
        }
    },
    methods:{
        goback(){
            this.$router.go("-1")
        },
        go(){
            
        }
    }
    
}
</script>

<style lang="less" scoped>
.space3{
    height: 150px;
    background-color: #f6f6f6;
}
.space1{
    line-height: 35px;
     height: 35px;
    background-color: #f6f6f6;
    p{
        font-size: 12px;
        color: #7a7a7a;
        margin-left: 10px;
    }
}
.space{
    height: 15px;
    background-color: #f6f6f6;
}
.top{
    background-color: #ff8f87;
    display: flex;
    align-items: center;
    height: 40px;
    a{
        width: 20px;
        height: 20px;
        background: url("../../assets/img/left.png")no-repeat;
        background-size: 100%;
    }
    p{
        margin: 0;
        margin-left: 43%;
        color: #fff;
    }
}
.list{
    li{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 10px;
        height: 40px;
        border-bottom: 1px solid #f6f6f6;
        span{
            font-size: 12px;
            font-weight: 600;
            width: 90%;
        }
        p{
            font-size: 12px;
            color: #000;
            margin: 0 auto;
            font-weight: 600;
        }
        a{
            display: inline-block;
            width: 20px;
            height: 20px;
            background: url("../../assets/img/right_1.png") no-repeat;
            background-size: 100%;
        }
    }
}
</style>